package com.atguigu.petstore.sys.minio.component;

import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

/**
 * @author lfy
 * @Description
 * @create 2023-09-23 9:05
 */
public interface FileUploadComponent {


    /**
     * 文件上传
     * @param file
     * @return
     */
    String upload(MultipartFile file) throws Exception;
}
